#! /usr/bin/python
# coding: utf-8

from Tkinter import *

root = Tk()

fm = []

for color in ['red', 'blue', 'yellow', 'green', 'white', 'black']:
    fm.append(Frame(height=20, width=400, bg=color))
    
Label(fm[1], text='Hello label').pack()

fm[0].pack()
fm[1].pack()
fm[3].pack()

root,mainloop()
